package com.jiashihui.schema_lgorithm.schema.flyweight;

/**
 * @author jiashihui
 * @date 2019/03/13
 */
public class Circle implements Shape{

    private String color;
    public Circle(String color){
        this.color = color;
    }

    public void draw() {
        System.out.println("画了一个" + color +"的圆形");
    }
}
